package com.chang.bootplus.po;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@ApiModel(value = "添加资讯", description = "")
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class NewsPO {

    @ApiModelProperty(value = "标题",example = "标题xx",required = true)
    private String title;

    @ApiModelProperty(value = "标签",example = "标签xx",required = true)
    private String label;

    @ApiModelProperty(value = "资讯领域",example = "技术训练",required = true)
    private String field;

    @ApiModelProperty(value = "资讯封面图",example = "http://xxxx",required = true)
    private String image;

    @ApiModelProperty(value = "资讯内容",example = "内容111111",required = true)
    private String context;

    @ApiModelProperty(value = "权重",example = "0",required = true)
    private Integer score;

}
